State-monitoring memory element

ABSTRACT

Embodiments of the invention relate to a state-monitoring memory element. The state-monitoring memory element may have a reduced ability to retain a logic state than other regular memory elements on an IC. Thus, if the state-monitoring memory elements fails or loses state during testing, it may be a good indicator that the IC&#39;s state retention may be in jeopardy, possibly requiring the IC to be reset. The state-monitoring memory element may be implemented by degrading an input voltage supply to the state-monitoring memory element across a diode and/or a transistor. One or more current sources may be used to stress the state-monitoring memory element. A logic analyzer may be used to analyze the integrity of the state-monitoring memory element and trigger appropriate actions in the IC, e.g., reset, halt, remove power, interrupt, responsive to detecting a failure in the state-monitoring memory element. Multiple state-monitoring memory elements may be distributed in different locations on the IC for better coverage.

RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application No. 60/912,399, filed Apr. 17, 2007, which is incorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates generally to Integrated Circuits (ICs), and more particularly to a state-monitoring memory element to detect potential failures in ICs.

BACKGROUND

In many IC applications, some means for monitoring a voltage state of certain elements on the IC are needed. For example, when an input voltage supply to one or more elements on the IC falls below a certain voltage threshold, a “reset” signal might be generated to reset the IC in order to avoid damage to the IC.

A voltage detector circuit implementing a low voltage detection function may be used to monitor the voltage state of the elements on the IC. The voltage detector circuit may include a voltage divider coupled to a field effect transistor (FET). A scaled input voltage taken across the voltage divider may be supplied to the gate input of the FET. If an input voltage supply is high, the FET will be turned on, in which case the voltage detector circuit does not issue a reset signal. On the other hand, if the input voltage supply drops below a certain voltage threshold, the FET will be turned off, and the voltage detector circuit generates a reset signal to reset the IC. The above-described voltage detector circuit incurs high power consumption since the resistive voltage divider constantly drains current from the input voltage supply. In addition, since the voltage detector circuit requires a certain voltage threshold to turn on the FET, the voltage threshold required to trigger the reset signal may not be low enough. As a result, unnecessary reset signal may occur at the output of the voltage detector circuit.

DESCRIPTION OF EXAMPLE EMBODIMENTS Overview

A system comprises at least one state-monitoring memory element having a reduced ability to retain a logic state compared to a normal memory element; and a logic analyzer to detect a failure in the state-monitoring memory element and to generate an indicator of failure responsive to the detection. The system may comprise a voltage supply circuit to degrade an input voltage and to provide the degraded input voltage to the state-monitoring memory element, wherein the voltage supply circuit comprises one of a diode or a transistor. Alternatively, the system may comprise at least one current source to stress the state-monitoring memory element.

A method includes configuring the state-monitoring memory element to have a reduced ability to retain a logic state compared to a normal memory element; detecting a failure in the state-monitoring memory element; and generating an indicator of failure responsive to detecting the failure in the state-monitoring memory element. The method includes degrading an input voltage across one of a diode or a transistor. At least one current source may be coupled to the state-monitoring memory element to stress the state-monitoring memory element. The method further includes presetting the state-monitoring memory element to a logic state and detecting if the state-monitoring memory element loses the preset logic state after a power transient.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other objects, advantages and features will become more readily apparent by reference to the following detailed description in conjunction with the accompanying drawings.

FIG. 1 is a schematic block diagram illustrating an example IC 100 having state monitoring memory elements according to embodiments of the invention.

FIGS. 2A, 2B, and 2C illustrate further details of the state-monitoring memory element 30 of FIG. 1.

FIG. 3 is a schematic block diagram illustrating an example circuit 300 for configuring the state-monitoring memory element 30 of FIG. 1.

FIG. 4 is a schematic block diagram illustrating an array of the state-monitoring memory element 30 of FIG. 1.

DETAILED DESCRIPTION

FIG. 1 is a schematic block diagram illustrating an example integrated circuit (IC) 100 having state-monitoring memory elements according to embodiments of the invention. It should be recognized that FIG. 1 may include other elements, which are not illustrated in order to simplify the figures and which may not be necessary to understand the example system disclosed below.

Referring to FIG. 1, the IC 100 may include one or more regular memory elements, such as 20 a-20 g. Each regular memory element 20 a-20 g may be a register, a memory cell, a latch, an array of registers or memory cells, and/or the like. The IC 100 may additionally include one or more state-monitoring memory elements, such as 30 a-30 c. Each state-monitoring memory element 30 a-30 c may be configured to have a reduced ability to retain a logic state than the regular memory elements 20 a-20 g in the IC 100. For example, a regular memory element, such as 20 a-20 g, may fail to operate or lose its logic state when an input voltage supply to the regular memory element drops to approximately 1.0 volt, whereas a state-monitoring memory element, such as 30 a-30 c, may fail at an input voltage supply of approximately 1.2 volts. In others words, a state-monitoring memory element 30 a-30 c may be more sensitive to a voltage drop than a regular memory element 20 a-20 g such that the state-monitoring memory element 30 a-30 c fails earlier than a regular memory element 20 a-20 g as the input voltage supply degrades over time. In some embodiments, if any one of the state-monitoring memory elements 30 a-30 c fails or loses state, it may be a good indicator that the IC 100's state retention may be in jeopardy, possibly requiring the IC 100 to be reset. FIG. 3 describes how the state-monitoring memory element 30 may be configured to have a reduced ability to retain a memory state than other regular memory element 20 in the IC 200, such that the state-monitoring memory element 30 fails before the regular memory element 20 in the IC 100.

Although FIG. 1 shows only three state-monitoring memory elements 30 a-30 c, the IC 100 may include any number of state-monitoring memory elements. Each of the state-monitoring memory elements 30 a-30 c may be implemented as a register, a memory cell, a latch, an array of registers or memory cells, and/or the like. In some embodiments, the state-monitoring memory elements 30 a-30 c may be distributed in different locations of the IC 100 for better coverage.

FIGS. 2A, 2B, and 2C illustrate the effects of a voltage drop on a state-monitoring memory element 30 and a regular memory element 20 of FIG. 1. FIG. 2A shows a voltage curve, in which the input voltage declines linearly as a function of time. In FIG. 2A, the input voltage value V1 is less than the input voltage value V2, which is in turn less than the input voltage value V3. The voltages curve of FIG. 2A represents an input voltage supply to the regular memory element 20 and the state-monitoring memory element 30. The voltage curve of FIG. 2 may also decline as another function of time.

FIGS. 2B and 2C respectively shows the effect of a voltage drop on the regular memory element 20 and the state-monitoring element 30. In FIG. 2B, the regular memory element 20 may continue to operate or keep its memory state, e.g., regions 1 and 2, as long as the input voltage is above the input voltage value V1. When the input voltage falls below the input voltage value V1 at time T2, the regular memory element 20 may fail or lose its memory state, e.g., region 3. On the other hand, as shown in FIG. 2C, the state-monitoring memory element 30 may fail to operate or lose its memory state when the input voltage falls below the input voltage value V2 at time T1. In others words, the state-monitoring memory element 30 may be more sensitive to a voltage drop than the regular memory element 20 such that the state-monitoring memory element 30 fails earlier than a regular memory element 20 as the input voltage degrades over time. Thus when the state-monitoring memory element 30 fails, it may be a good indicator that the IC 100's state retention may be in jeopardy, possibly resulting in a reset of the IC 100.

FIG. 3 is a schematic block diagram illustrating an example circuit 300 for configuring the state-monitoring memory element 30 of FIG. 1. Referring to FIG. 3, the circuit 300 may include a voltage supply circuit 60 for supplying voltages to the state-monitoring memory element 30. The voltage supply circuit 60 receives a voltage VDD derived from a voltage source (not shown), such as a battery. The voltage VDD may be degraded to some voltage level, e.g., degraded VDD 65, which may be supplied to the positive power supply of the state-monitoring memory element 30. The state-monitoring memory element 30 may be implemented as a register, a memory cell, a latch, an array of registers or memory cells, and/or the like.

As shown in FIG. 3, the voltage VDD may be degraded by coupling a diode 50 to the positive power supply of the state-monitoring memory element 30. When the voltage VDD exceeds a threshold value of the diode 50, the diode 50 would be turned on to effectuate a voltage drop, resulting in the degraded VDD 65. Alternatively, the voltage VDD may be degraded by coupling a transistor device, e.g., a p-channel metal-oxide-semiconductor field-effect transistor (PMOS) 90, to the state-monitoring memory element 30. The amount of voltage drop may depend on a threshold voltage of the transistor device and a gate bias voltage of the transistor device. For example, when the voltage VDD exceeds a certain value, the PMOS 90 would be turned on to effectuate a voltage drop, resulting in the degraded VDD 65. Although FIG. 3 shows that a PMOS 90 is used to degrade the voltage VDD, an n-channel MOSFET (NMOS) may be used to degrade the voltage VDD.

Similarly, a diode (not shown) and/or a transistor device (e.g., NMOS transistor 92) may be coupled to the negative power supply of the state-monitoring memory element 30 to degrade the voltage supply to the state-monitoring memory element 30 using the same principle described above. For example, as shown in FIG. 3, the NMOS transistor 92 may be coupled to the negative power supply of the state-monitoring memory element 30 such that when the gate bias voltage of the NMOS 92 exceeds its threshold voltage, the NMOS 92 may be turned on to effectuate a voltage drop, e.g., degraded ground 66.

One or more current sources, such as 80 a, 80 b, may be coupled to the state-monitoring memory element 30 to stress the state-monitoring memory element 30 due to the load current that flows through the state-monitoring memory element 30. These current sources may degrade the voltage at output 32 below the degraded VDD 65, and thus compromising the state-retention ability of the state-monitoring memory element 30. It should be noted that the current in the current sources 80 a and 80 b may be small, e.g. on the order of 10 nA.

The state-monitoring memory element 30 may be initialized by writing it with a logic state, e.g., “1”. After degrading the voltage supply of the state-monitoring memory element 30 to a certain voltage value, the state-monitoring memory element 30 may fail or lose its memory state, in which case the state-monitoring memory element 30 may output a “0 to the logic analyzer 40 (assuming that the state-monitoring memory element has been initialized with a logic state of “1”). It should be noted that the state-monitoring memory element 30 may be initialized to a logic state other than logic state “1”, e.g., logic state “0”, such that failures many be detected on either logic state “1” or “0”. The logic analyzer 40 analyzes the output 32 of the state-monitoring memory element 30 to determine whether the state-monitoring memory element 30 has failed or lost its memory state. If the logic analyzer 40 detects a failure in the state-monitoring memory element 30, the logic analyzer 40 may issue a signal 33 to trigger appropriate actions in the IC 100, such as resetting the IC 100, halting the IC 100, removing power, or generating an interrupt.

The above describes various means that may be used to degrade the state-retention ability of the state-monitoring element 30, such as by coupling a diode, a transistor device, current sources, or a combination thereof, to the state-monitoring memory element 30. The voltage threshold required to trigger a reset signal may be controlled to reduce the occurrence of unnecessary resets in the IC 100. In addition, the circuit 300 consumes less power than the resistive voltage divider mentioned earlier.

FIG. 4 is a schematic block diagram illustrating an array of the state-monitoring memory element 30 of FIG. 1. Referring to FIG. 4, the IC 100 may include an array 400 of state-monitoring memory elements, such as state-monitoring memory element 1, state-monitoring memory element 2, . . . , and state-monitoring memory element n, where n>=3. The IC 100 may also include a voltage supply circuit 60 to generate various input voltages, such as V1, V2, . . . , and Vn, where n>=3, each representing a same or different voltage level. Each of these input voltages V1, V2, . . . , Vn may be supplied to a respective state-monitoring memory element. Additionally, each of the respective state-monitoring memory elements may be coupled to one or more current sources 80. The current sources 80 may stress the state-monitoring memory element as a result of the load current that flows through the state-monitoring memory element. Consequently, the current sources 80 may cause the respective state-monitoring memory element to be more vulnerable to voltage degradation and thus more likely to fail when the input voltages V1, V2, . . . , Vn degrade to a certain voltage value. State-monitoring memory element 1, state-monitoring memory element 2, . . . , and state-monitoring memory element n may each be implemented as a register, a memory cell, a latch, an array of registers or memory cells, and/or the like.

A logic analyzer 40 is used in the IC 100 to analyze the integrity of the respective state-monitoring memory elements. In some embodiments, state-monitoring memory element 1, state-monitoring memory element 2, . . . , and state-monitoring memory element n, may each be initialized by writing to it a logic state, e.g., 1. After degrading the input voltages V1, V2, . . . , Vn for the respective state-monitoring memory element to a certain voltage value, one or more of these state-monitoring memory elements may fail or lose its memory state. For example, if the initial logic state in the respective state-monitoring memory elements is “1”, the state-monitoring element may lose the original logic state due to a voltage drop in the respective input voltages, in which case the logic state in the state-monitoring memory element may be “0”. It should be noted that these state-monitoring memory elements may each be initialized to a logic state other than logic state “1”, e.g., logic state “0”, such that failures may be detected on either logic state “1” or “0”. The logic analyzer 40 analyzes the output of the respective state-monitoring memory elements to determine whether one or more of the state-monitoring memory elements have lost the memory state. If the logic analyzer 40 detects that any one of these state-monitoring memory elements fails or loses its memory state, the logic analyzer 40 may issue a signal 42 to trigger appropriate actions in the IC 100, such as resetting the IC, halting the IC, removing power, or generating an interrupt. For example, a reset signal may be sent to a central processor unit (not shown) to possibly reset the IC 100. The array of state-monitoring memory elements may be distributed in different locations in the IC 100 for better coverage.

Embodiments of the invention relate to a state-monitoring memory element for detecting potential IC failures. Embodiments of the invention allow for an accurate detection of potential IC failures, while consuming less power. The state-monitoring memory element may have a reduced ability to retain a logic state than other regular memory elements on an IC. Thus, if the state-monitoring memory elements fails or loses state during testing, it may be a good indicator that the IC's state retention may be in jeopardy, possibly requiring the IC to be reset. The state-monitoring memory element may be implemented as a register, a memory cell, a latch, or an array of registers or memory cells. The state-monitoring memory element may be degraded by dropping an input voltage supply across a diode, a transistor, or a combination of both. At least one current source may be used to stress the state-monitoring memory element. A logic detector may be used to analyze the integrity of the state-monitoring memory element. The logic analyzer may trigger appropriate actions in the IC responsive to detecting a failure of the state-monitoring memory element. Multiple state-monitoring memory elements may be distributed in different locations on the IC for better coverage.

Further modifications and alternative embodiments of this invention will be apparent to those skilled in the art in view of this description. Accordingly, this description is to be construed as illustrative only and is for the purpose of teaching those skilled in the art the manner of carrying out the invention, Various changes may be made in the shape, size and arrangement and types of components or devices. For example, equivalent elements or materials may be substituted for those illustrated and described herein, and certain features of the invention may be utilized independently of the use of other features, all as would be apparent to one skilled in the art after having the benefit of this description of the invention. Alternative embodiments are contemplated and are within the spirit and scope of the following claims. 

1. A system, comprising: at least one state-monitoring memory element having a reduced ability to retain a logic state compared to a normal memory element; and a logic analyzer to detect a failure in the state-monitoring memory element and to generate an indicator of failure responsive to the detection.
 2. The system of claim 1, wherein the state-monitoring memory element is one of a register, a memory cell, a latch, an array of registers, or an array of memory cells.
 3. The system of claim 1, further comprising a voltage supply circuit to degrade an input voltage and to provide the degraded input voltage to the state-monitoring memory element, wherein the voltage supply circuit comprises one of a diode, a transistor, or a combination thereof.
 4. The system of claim 1, wherein the state-monitoring memory element is preset to a logic state, and wherein the logic analyzer generates an indicator of failure if the state-monitoring memory element fails to maintain the preset logic state when the input voltage drops below the predetermined threshold voltage.
 5. The device of claim 1, further comprising at least one current source coupled to the state-monitoring memory element.
 6. The device of claim 1, wherein the logic analyzer is adapted to issue a reset signal responsive to detecting a failure in the state-monitoring memory element.
 7. The device of claim 1, wherein the logic analyzer is adapted to issue an interrupt signal to a system processor.
 8. A method, comprising: configuring the state-monitoring memory element to have a reduced ability to retain a logic state compare to a normal memory element; detecting a failure in the state-monitoring memory element; and generating an indicator of failure responsive to detecting the failure in the state-monitoring memory element.
 9. The method of claim 8, wherein configuring the state-monitoring memory element comprises degrading an input voltage across one of a diode, a transistor, or a combination thereof, and providing the degraded input voltage to the state-monitoring memory element;
 10. The method of claim 8, wherein configuring the state-monitoring memory element comprises stressing the state-monitoring memory element by coupling the state-monitoring memory element to at least one current source.
 11. The method of claim 8, wherein detecting the failure in the state-monitoring memory element comprises presetting the state-monitoring memory element to a logic state.
 12. The method of claim 11, wherein detecting the failure in the state-monitoring memory element comprises detecting if the state-monitoring memory element loses the preset logic state after a power transient.
 13. The method of claim 8, further comprising generating a reset signal responsive to detecting the failure in the state-monitoring memory element.
 14. The method of claim 8, further comprising generating an interrupt signal responsive to detecting the failure in the state-monitoring memory element.
 15. A system, comprising: means for configuring a state-monitoring memory element to have a reduced ability to retain a logic state compared to a normal memory element, such that the state-monitoring memory element is more likely to fail than the normal memory element when an input voltage associated with the state-monitoring memory element drops below a predetermined threshold voltage; means for detecting a failure in the state-monitoring memory element; and means for generating an indicator of failure responsive to detecting a failure in the state-monitoring memory element.
 16. The system of claim 15, wherein means for configuring the state-monitoring memory element comprises means for degrading the input voltage across one of a diode, a transistor, or a combination thereof.
 17. The system of claim 15, wherein means for configuring the state-monitoring memory element comprises means for stressing the state-monitoring memory element by coupling the state-monitoring memory element to at least one current source.
 18. The system of claim 15, wherein means for detecting a failure in the state-monitoring memory element comprises means for initializing the state-monitoring memory element to a logic state.
 19. The system of claim 18, further comprising means for detecting if the state-monitoring memory element loses the initialized logic state after a power transient.
 20. The system of claim 15, wherein means for generating the indicator of failure comprises means for generating a reset signal responsive to detecting a failure in the state-monitoring memory element. 